package engine.newUi
{
	import engine.ui.lite.BaseUI;
	
	import flash.display.DisplayObjectContainer;
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	
	public class SpecialKungFuUI extends BaseUI
	{
		public var control:SpecialKungFuLogic;
		private static var _self:SpecialKungFuUI;
		public var bgnxclip	: NxClip;
		public var labelPage	: NxLabel;
		public var plane		:MovieClip;
		public var closeBtn	:NxButton;
		public static function getInstance():SpecialKungFuUI
		{
			if(_self == null)
			{
				_self = new SpecialKungFuUI();
				
			}
			return _self;
		}
		public function SpecialKungFuUI(popupUI:Boolean=true)
		{
			super(popupUI);
			control = SpecialKungFuLogic.getInstance();
		}
		public function showUI():void
		{
			super.show();
		}
		override public function show(space:DisplayObjectContainer=null, onshow:Function=null, ...argc):void
		{
			control.onLoadUrl();
		}
		override public function Init():void
		{
			control.Init();
		}
		override protected function  BeforeShow():void
		{
			control.BeforeShow();
		}
		
		override protected function AfterHide():void
		{
			control.AfterHide();
		}
	}
}